# 递增
for a in range(10):
    print(a,end=" ")
print("")
""" 
0 1 2 3 4 5 6 7 8 9
"""

# 递减
for i in range(10,-1,-1):
    print(i,end=" ")
print("")
""" 
10 9 8 7 6 5 4 3 2 1 0
"""